package com.xuzz.study.springbootdemo.entity;

import java.util.HashMap;

public class Response extends HashMap<String,Object> {
    private static final long serialVersionUID = -7124412389904258302L;

    public Response message(String message)
    {
        this.put("message",message);
        return this;
    }

    public Response data(String data)
    {
        this.put("data",data);
        return this;
    }
    public  Response code(String code)
    {
        this.put("code",code);
        return this;
    }
}
